package com.duanjw.java.proxy.custom;

import java.lang.reflect.Method;

public interface CustomInvocationHandler {
    /**
     * @param proxy  代理对象
     * @param method 目标对象
     * @param args
     * @return
     * @throws Throwable
     */
    Object invoke(Method method, Object[] args) throws Throwable;
}
